import {httpInstance} from "@/api/index";
import {postConfig,getConfig} from '@/lib/RequestBuilder'


const user_role_prefix = "/sys_user_org";

export const findOrgByUserId = (param) =>{
    let config = getConfig(user_role_prefix+"/findOrgByUserId",param);
    return httpInstance.request(config)
}

export const updateOrgForUser = (param) =>{
    let config = postConfig(user_role_prefix+"/updateOrgForUser",param);
    return httpInstance.request(config)
}